﻿<%@ Page Title="Video clip thể thao hot nhất | soha.vn" Language="C#" MasterPageFile="~/MasterPages/Site.Master" AutoEventWireup="true" CodeBehind="ListVideo2.aspx.cs" Inherits="GUI.Pages.Video.ListVideo2" %>

<%@ OutputCache VaryByParam="*" Duration="180" %>
<%@ Register TagPrefix="uc" TagName="SubCategories" Src="~/Controls/Sport/SubCategories.ascx" %>
<%@ Register TagPrefix="uc" TagName="HighlightVideo2" Src="~/Controls/Video/HighlightVideo2.ascx" %>
<%@ Register TagPrefix="uc" TagName="BoxVideo" Src="~/Controls/Video/BoxVideo.ascx" %>
<%@ Register TagPrefix="uc" TagName="VideoLightbox" Src="~/Controls/Video/VideoLightbox.ascx" %>
<%@ Register TagPrefix="adv" TagName="TopDefault" Src="~/Controls/Advertising/TopDefault.ascx" %>
<%@ Register TagPrefix="adv" TagName="RightListPage" Src="~/Controls/Advertising/RightListPage.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMainContent" runat="server">
    <adv:TopDefault ID="TopDefault1" runat="server" />
    <div class="mgt15 clearfix">
        <div class="w660 fl">
            <uc:SubCategories ID="ctrSubCategories" runat="server" />
            <uc:HighlightVideo2 ZoneId="5" runat="server" />
            <div class="clearfix mgt32">
                <uc:BoxVideo ID="BoxVideo1" ZoneId="52" ViewMoreUrl="/videotag-5/the-thao.htm" Title="MUÔN MÀU THỂ THAO" Theme="cyan" runat="server" />
            </div>
            <div class="clearfix mgt32">
                <uc:BoxVideo ZoneId="51" ViewMoreUrl="/videotag-5/the-thao.htm" Title="CLIP TRẬN ĐẤU" runat="server" />
            </div>
        </div>
        <div class="right fr">
            <adv:RightListPage runat="server" />
        </div>
    </div>
    <script type="text/javascript">
        onLoad(function () {
            $('.lst-video').each(function () {
                var lis = $(this).find('li');
                if (lis && lis.length > 0) {
                    var maxHeight = 0;
                    lis.each(function () {
                        if (maxHeight < $(this).height())
                            maxHeight = $(this).height();
                    });
                    lis.height(maxHeight);
                }
            });
            var links = $('.lst-video li a');
            if (links && links.length > 0) {
                links.each(function () {
                    $(this).click(function (event) {
                        var videoId = parseInt($(this).closest('li').attr('rel'));
                        if (videoId > 0) {
                            event.preventDefault();
                            sohavideo.lightboxVideo(videoId);
                        }

                    });
                });
            }

        }, "Video.BoxVideo.ascx");
    </script>
    <uc:VideoLightbox runat="server" />
</asp:Content>
